package hcn.protocol.ods;


import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@XmlRootElement(name="regRecordDetail")
public class RegRecordDetailBean implements Serializable{

    private static final long serialVersionUID = 3409196112904758387L;
    private String name;
    private String sex;
    private String age;
    private String regId;
    private String clinicNo;
    private String queueNo;
    private String expertFlag;
    private String deptId;
    private String deptName;
    private String regDeptId;
    private String regDeptName;
    private String doctorId;
    private String doctorName;
    private Date workDate;
    private Date startDt;
    private Date endDt;
    private Date takeNumberDt;//取号时间
    private String hospitalCode;
    private String hospitalName;
    private String departmentLocation;
    private Double regFee;
    private List<RecordPointBean> points;
    private String patientMedicalCardNumber;//  患者诊疗卡号码string
    private String patientMedicalCardType;//患者诊疗卡类型(1.居民健康卡 2.就诊卡3.医保卡 4.院内诊疗卡 5.门诊号 6.诊疗卡


    public String getPatientMedicalCardNumber() {
        return patientMedicalCardNumber;
    }

    public void setPatientMedicalCardNumber(String patientMedicalCardNumber) {
        this.patientMedicalCardNumber = patientMedicalCardNumber;
    }

    public String getPatientMedicalCardType() {
        return patientMedicalCardType;
    }

    public void setPatientMedicalCardType(String patientMedicalCardType) {
        this.patientMedicalCardType = patientMedicalCardType;
    }

    public Double getRegFee() {
        return regFee;
    }

    public void setRegFee(Double regFee) {
        this.regFee = regFee;
    }

    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getDepartmentLocation() {
        return departmentLocation;
    }

    public void setDepartmentLocation(String departmentLocation) {
        this.departmentLocation = departmentLocation;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getRegId() {
        return regId;
    }

    public void setRegId(String regId) {
        this.regId = regId;
    }

    public String getClinicNo() {
        return clinicNo;
    }

    public void setClinicNo(String clinicNo) {
        this.clinicNo = clinicNo;
    }

    public String getQueueNo() {
        return queueNo;
    }

    public void setQueueNo(String queueNo) {
        this.queueNo = queueNo;
    }

    public String getExpertFlag() {
        return expertFlag;
    }

    public void setExpertFlag(String expertFlag) {
        this.expertFlag = expertFlag;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRegDeptId() {
        return regDeptId;
    }

    public void setRegDeptId(String regDeptId) {
        this.regDeptId = regDeptId;
    }

    public String getRegDeptName() {
        return regDeptName;
    }

    public void setRegDeptName(String regDeptName) {
        this.regDeptName = regDeptName;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getWorkDate() {
        return workDate;
    }

    public void setWorkDate(Date workDate) {
        this.workDate = workDate;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getStartDt() {
        return startDt;
    }

    public void setStartDt(Date startDt) {
        this.startDt = startDt;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getEndDt() {
        return endDt;
    }

    public void setEndDt(Date endDt) {
        this.endDt = endDt;
    }

    @XmlElementWrapper(name = "points")
    @XmlElement(name = "point")
    public List<RecordPointBean> getPoints() {
        return points;
    }

    public void setPoints(List<RecordPointBean> points) {
        this.points = points;
    }

    public Date getTakeNumberDt() {
        return takeNumberDt;
    }

    public void setTakeNumberDt(Date takeNumberDt) {
        this.takeNumberDt = takeNumberDt;
    }
}
